home *** CD-ROM | disk | FTP | other *** search
- package symantec.itools.awt;
-
- public class NumericSpinner extends Spinner {
- public NumericSpinner() {
- this.setIncrement(1);
- }
-
- public void setIncrement(int var1) {
- super.increment = var1;
- }
-
- public int getIncrement() {
- return super.increment;
- }
-
- protected String getCurrentText() {
- return Integer.toString(super.current);
- }
-
- public void addNotify() {
- super.textWidth = 5;
- super.text = Integer.toString(super.current);
- super.addNotify();
- ((Spinner)this).updateText();
- }
- }
-